﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Relatorios_Reports" Codebehind="Reports.aspx.cs" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<%@ Register src="../Usercontrol/wuscSeguranca.ascx" tagname="wuscSeguranca" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>

        <%--<uc1:wuscSeguranca ID="wuscSeguranca1" runat="server" />--%>

        <asp:ObjectDataSource ID="ods_turma" runat="server" 
            SelectMethod="_obter_Turma_matricula" TypeName="Banco.BD_Turma" 
            OldValuesParameterFormatString="original_{0}">
            <SelectParameters>
                <asp:Parameter Name="TURMA_ID" Type="String" />
                <asp:Parameter Name="TUR_DESCRICAO" Type="String" />
                <asp:Parameter Name="USUARIO_ID" Type="String" />
                <asp:Parameter Name="TURMAS_SEMALUNOS" Type="Boolean" />
            </SelectParameters>
        </asp:ObjectDataSource>

        <asp:ObjectDataSource ID="ods_Matricula" runat="server" 
            SelectMethod="_obter_Matricula_Aluno" TypeName="Banco.BD_Matricula">
            <SelectParameters>
                <asp:Parameter Name="ALUNO_ID" Type="String" />
                <asp:Parameter Name="TODAS" Type="Boolean" />
            </SelectParameters>
        </asp:ObjectDataSource>

        <asp:ObjectDataSource ID="ods_Aluno" runat="server" 
            SelectMethod="_obter_Alunogeral" TypeName="Banco.BD_Aluno" 
            onselecting="ods_Aluno_Selecting">
            <SelectParameters>
                <asp:Parameter Name="ALUNO_ID" Type="String" />
                <asp:Parameter Name="PESSOA_ID" Type="String" />
                <asp:Parameter Name="PES_NOME" Type="String" />
                <asp:Parameter Name="BOLSISTA" Type="String" />
                <asp:Parameter Name="TURMA_ID" Type="String" />
                <asp:Parameter Name="PES_PAI" Type="String" />
                <asp:Parameter Name="PES_MAE" Type="String" />
                <asp:Parameter Name="ORDER_BY_CLAUSE" Type="String" />
                <asp:Parameter Name="ALU_STEXCLUIDO" Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>

        <asp:ObjectDataSource ID="ods_AnoPagamento" runat="server"  
            SelectMethod="_obter_AnoPagamento" 
            TypeName="Banco.BD_Pagamento" > 
        </asp:ObjectDataSource>
        
        <asp:HiddenField ID="hid_RELATORIO" runat="server" />


        <div style="float:right; margin-right:30px; margin-top:10px; width:100%;" align="right">
            <asp:ImageButton ID="imgbBaixarRelatorio" runat="server" 
                ImageUrl="~/Imagens/botoes_visualizar.png" 
                onclick="imgbBaixarRelatorio_Click" ValidationGroup="camposObrigatorios" />
        </div>
    </div>
    </form>
</body>
</html>
